<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://cdn.jsdelivr.net/npm/vue@2.6.14/dist/vue.js"></script>
</head>
<body>
    <div id="example-1">
        <button v-on:click="func1(),func2(),func3(),func4()">Add 1</button>
        <p>The button above has been clicked {{ counter }} times.</p>
        <p>The date is: {{date}}</p>
        <p>func3 is: {{f3}}</p>
        <p>func4 is: {{f4}}</p>
    </div>
    <script>
        var example1 = new Vue({
            el: '#example-1',
            data: {
                counter: 0,
                date: null,
                f3: null,
                f4: null
            },
            methods: {
                func1() {
                    this.counter += 1
                    
                },
                func2() {
                    this.date = new Date()
                },
                func3() {
                    this.f3 = 'func3--' + Date.now()
                },
                func4() {
                    this.date = new Date()
                    this.f4 = 'func4--' + Date.now()
                },
            }
        })
    </script>
</body>
</html>